import React from 'react'
import {createRoot} from 'react-dom/client'
import { PersistGate } from "redux-persist/integration/react";
import { Provider } from "react-redux";
import { store, persistor } from "@/redux";
import App from './App'
import '@/assets/less/reset.less'

createRoot(document.getElementById('root')!).render(
//   <React.StrictMode>
    <Provider store={store}>
        <PersistGate persistor={persistor}>
            <App />
        </PersistGate>
    </Provider>,
//    </React.StrictMode>,
)

// const root = createRoot(document.getElementById('root')!);
// root.render(<App />);
